<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>

<body>
    <div class="box a b c"></div>
    <script src="function.js"></script>
    <script>
    var box = document.querySelector('.box');
    addClass(box, 'active');
    removeClass(box, 'b');
    </script>
</body>

</html>